<script type="text/javascript" src="<?php echo base_url('assets/js/site/validacao_comentario.js');?>"></script>
<div id="main-wrapper">
    <div class="container-12">
        <div id="main" class="clearfix">

            <div id="content" class="column grid-12" role="main">
                <div class="section">
                    <div class="page-content">
                        <div class="region region-content">
                            <div id="block-system-main" class="block block-system block-even">
                                <div class="block-title">
                                </div>

                                <div class="content">
                                    <a id="comment-17"></a>
                                    <article class="comment comment-by-node-author clearfix">
                                        <div class="user-picture">
                                            <img src="http://livedemo00.template-help.com/drupal_48487/sites/default/files/avatar.png" alt="admin's picture" title="admin's picture">  </div>

                                        <div class="comment-wrapper">
                                            <header class="attribution">

                                                <p class="submitted">
                                                    <a href="/drupal_48487/?q=comment/17#comment-17" class="permalink" rel="bookmark">Permalink</a>
                                                    Escrito por <span class="username"><?php echo $comentario->get_nome()?></span> em <?php echo get_date_extended($comentario->get_data_criacao())?>
                                                </p>
                                            </header>

                                            <div class="content">
                                                <div class="field field-name-comment-body field-type-text-long field-label-hidden">
                                                    <div class="field-items">
                                                        <div class="field-item even">
                                                            <?php echo $comentario->get_descricao();?>
                                                            
                                                        </div>
                                                    </div>
                                                </div>		
                                            </div>
                                            <!-- /.content -->

                                            <footer>
                                                <ul class="links inline">
                                                    <li class="comment-reply first last active">
                                                    </li>
                                                </ul>
                                            </footer>
                                        </div>
                                    </article>
                                    <!-- /.comment -->
                                    <form class="comment-form" action="<?php echo site_url('site/post/comentario')?>" method="post" id="comment-form" accept-charset="UTF-8">
                                        <div>
                                            <div class="form-item form-type-textfield form-item-name">
                                                <label for="edit-name">Seu nome<span class="form-required" title="This field is required.">*</span></label>
                                                <input <?php if(has_user_fb()) echo 'disabled=disabled'; ?> type="text" id="edit-name" name="nome" value="<?php echo get_name_user_fb(); ?>" size="30" maxlength="60" class="form-text">
                                            </div>
                                            <div class="field-type-text-long field-name-comment-body field-widget-text-textarea form-wrapper" id="edit-comment-body">
                                                <div id="comment-body-add-more-wrapper">
                                                    <div class="text-format-wrapper">
                                                        <div class="form-item form-type-textarea form-item-comment-body-und-0-value">
                                                            <label for="edit-comment-body-und-0-value">Comentário<span class="form-required" title="This field is required.">*</span></label>
                                                            <div class="form-textarea-wrapper resizable textarea-processed resizable-textarea">
                                                                <textarea class="text-full form-textarea required" id="edit-comment" name="descricao" cols="60" rows="5"></textarea>
                                                                <div class="grippie">
                                                                    
                                                                </div>
                                                                <div class="wysiwyg-toggle-wrapper">
                                                                    <a id="wysiwyg-toggle-edit-comment-body-und-0-value" href="javascript:void(0);" style="display: none;">Disable rich-text</a>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <input type="hidden" name="id_comentario_pai" value="<?php echo $comentario->get_id_comentario();?>">
                                            <input type="hidden" name="id_post_redirect" value="<?php echo $id_post_redirect;?>">
                                            <div class="form-actions form-wrapper" id="edit-actions">
                                                <input type="submit" id="btn-salvar" name="op" value="Enviar comentário" class="form-submit">
                                            </div>
                                        </div>
                                    </form>		
                                </div>
                                <!-- /.content -->
                            </div><!-- /.block -->  </div>
                    </div>
                </div>
            </div>

        </div><!-- /#main -->
    </div>

</div>